home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 248_01 / dpath.h < prev    next >
Text File  |  1989-08-16  |  1KB  |  87 lines

  1. /*    DPATH:    System dependant path definitions for MicroSPELL 1.0
  2.         Spell Checker and Corrector
  3.  
  4.         (C)opyright May 1987 by Daniel Lawrence
  5.         All Rights Reserved
  6. */
  7.  
  8. /*    possible names and paths of help files under different OSs    */
  9.  
  10. char *pathname[] =
  11.  
  12. #if    AMIGA
  13. {
  14.     ".spellrc",
  15.     "dict.dct",
  16.     "",
  17.     "sys:c/",
  18.     "sys:t/",
  19.     "sys:s/",
  20.     ":c/",
  21.     ":t/",
  22.     ":s/"
  23. };
  24. #endif
  25.  
  26. #if    ST520
  27. {
  28.     "spell.rc",
  29.     "dict.dct",
  30.     "\\",
  31.     "\\bin\\",
  32.     "\\util\\",
  33.     ""
  34. };
  35. #endif
  36.  
  37. #if    FINDER
  38. {
  39.     "spell.rc",
  40.     "dict.dct",
  41.     "/bin",
  42.     "/sys/public",
  43.     ""
  44. };
  45. #endif
  46.  
  47. #if    MSDOS
  48. {
  49.     "spell.rc",
  50.     "dict.dct",
  51.     "\\sys\\public\\",
  52.     "\\usr\\bin\\",
  53.     "\\bin\\",
  54.     "\\",
  55.     ""
  56. };
  57. #endif
  58.  
  59. #if    V7 | BSD | USG
  60. {
  61.     ".spellrc",
  62.     "dict.dct",
  63.     "/usr/local/",
  64.     "/usr/lib/",
  65.     ""
  66. };
  67. #endif
  68.  
  69. #if    VMS
  70. {
  71.     "spell.rc",
  72.     "dict.dct",
  73.     "",
  74.     "sys$sysdevice:[vmstools]"
  75. };
  76. #endif
  77.  
  78. #if     CMS
  79. {
  80.         "profile.spell",
  81.         "dict.dct",
  82.         "CMS:"
  83. };
  84. #endif
  85.  
  86. #define    NPNAMES    (sizeof(pathname)/sizeof(char *))
  87.